package com.banksystem.entity;

public class News {

	private Integer nid;
	private String title;
	private String gname;
	private String master;
	private String content;
	private String date;
	
	public News() {
		
	}
	public News(String title, String gname, String master, String content, String date) {
		super();
		this.title = title;
		this.gname = gname;
		this.master = master;
		this.content = content;
		this.date = date;
	}
	public News(Integer nid, String title, String gname, String master, String content, String date) {
		super();
		this.nid = nid;
		this.title = title;
		this.gname = gname;
		this.master = master;
		this.content = content;
		this.date = date;
	}
	public Integer getNid() {
		return nid;
	}
	public void setNid(Integer nid) {
		this.nid = nid;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getGname() {
		return gname;
	}
	public void setGname(String gname) {
		this.gname = gname;
	}
	public String getMaster() {
		return master;
	}
	public void setMaster(String master) {
		this.master = master;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	
	
}
